" Vim color file
"
" Author: chenxin <chenxin619315@gmail.com>
"
" Note: Based on the Monokai theme for TextMate
" by Wimer Hazenberg and its darker variant
" by Hamish Stuart Macpherson
"

hi clear

if version > 580
    " no guarantees for version 5.8 and below, but this makes it stop
    " complaining
    hi clear
    if exists("syntax_on")
        syntax reset
    endif
endif
let g:colors_name="tubnil"

"
" Support for 256-color terminal
"
hi Normal       	ctermfg=252 				ctermbg=black guibg=#000000
hi CursorLine       ctermbg=234    				cterm=none
hi CursorLineNr 	ctermfg=208               cterm=none
hi Boolean         ctermfg=51
hi Character       ctermfg=162				 cterm=none
hi Number          ctermfg=153
hi String          ctermfg=200
hi Conditional     ctermfg=208               cterm=none
hi Constant        ctermfg=208               cterm=none
hi Cursor          ctermfg=16  				 ctermbg=253
hi Debug           ctermfg=225               cterm=bold
hi Define          ctermfg=208 cterm=none
hi Delimiter       ctermfg=255 cterm=none

hi DiffAdd                     ctermbg=24
hi DiffChange      ctermfg=181 ctermbg=239
hi DiffDelete      ctermfg=162 ctermbg=53
hi DiffText                    ctermbg=102 cterm=bold

hi Directory       ctermfg=255               cterm=none
hi Error           ctermfg=219 ctermbg=89
hi ErrorMsg        ctermfg=199 ctermbg=16    cterm=bold
hi Exception       ctermfg=118               cterm=bold
hi Float           ctermfg=red
hi FoldColumn      ctermfg=67  ctermbg=16
hi Folded          ctermfg=67  ctermbg=16    cterm=none
hi Function        ctermfg=120
hi phpUDFunctions  ctermfg=255 ctermbg=red	 cterm=bold
hi Identifier      ctermfg=81                cterm=none
hi Ignore          ctermfg=244 ctermbg=232
hi IncSearch       ctermfg=193 ctermbg=16    cterm=none

hi keyword         ctermfg=208               cterm=bold
hi Label           ctermfg=229               cterm=none
hi Macro           ctermfg=200				 cterm=none
hi SpecialKey      ctermfg=81

hi MatchParen      ctermfg=238  ctermbg=162 cterm=none
hi ModeMsg         ctermfg=229
hi MoreMsg         ctermfg=229
hi Operator        ctermfg=161

" complete menu
hi Pmenu           ctermfg=255  ctermbg=200
hi PmenuSel        ctermfg=255  ctermbg=232
hi PmenuSbar                    ctermbg=232
hi PmenuThumb      ctermfg=81

hi PreCondit       ctermfg=118               cterm=none
hi PreProc         ctermfg=118
hi Question        ctermfg=81
hi Repeat          ctermfg=208               cterm=none
hi Search          ctermfg=200 ctermbg=222   cterm=none

" marks column
hi SignColumn      ctermfg=118 ctermbg=235
hi SpecialChar     ctermfg=161               cterm=bold
hi SpecialComment  ctermfg=245               cterm=bold
hi Special         ctermfg=81
if has("spell")
	hi SpellBad                ctermbg=52
	hi SpellCap                ctermbg=17
	hi SpellLocal              ctermbg=17
	hi SpellRare  ctermfg=none ctermbg=none  cterm=reverse
endif
hi Statement       ctermfg=200               cterm=none
hi StatusLine      ctermfg=255 ctermbg=59	 cterm=none
hi StatusLineNC    ctermfg=244 ctermbg=232
hi StorageClass    ctermfg=208 				cterm=none
hi Structure       ctermfg=51  				cterm=none
hi Tag             ctermfg=161				cterm=bold
hi Title           ctermfg=166				cterm=none
hi Todo            ctermfg=238 ctermbg=64   cterm=bold

hi Typedef         ctermfg=81
hi Type            ctermfg=81                cterm=none
hi Underlined      ctermfg=244               cterm=underline

hi VertSplit       ctermfg=244 ctermbg=232   cterm=bold
hi VisualNOS                   ctermbg=238
hi Visual                      ctermbg=235   cterm=none
hi WarningMsg      ctermfg=231 ctermbg=238   cterm=bold
hi WildMenu        ctermfg=81  ctermbg=16	 cterm=none

hi Comment         ctermfg=59
hi CursorColumn                ctermbg=236
hi ColorColumn                 ctermbg=236
hi LineNr          ctermfg=250 ctermbg=236
hi NonText         ctermfg=59

hi SpecialKey      ctermfg=59



" Must be at the end, because of ctermbg=234 bug.
" https://groups.google.com/forum/#!msg/vim_dev/afPqwAFNdrU/nqh6tOM87QUJ
set background=dark
